package com.takeeasy.platform.facade.servlet;


import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


@WebServlet(loadOnStartup = 1,urlPatterns={"/StartUpServlet"})
public class StartUpServlet extends HttpServlet {
	private static final long serialVersionUID = 1L;
	private static final Logger logger = LoggerFactory.getLogger(StartUpServlet.class);

	public StartUpServlet() {
		super();
	}

	@Override
	public void init() throws ServletException {
		logger.debug("业务系统框架启动中...");
                new StartManager().startUpPlatform();
	}
}
